
<?php $this->load->view('header'); ?>

<div class="photo_box">
	<ul class="clearfix">
		
		<?php for ($i=1; $i < 45; $i++): ?>


		<li><a class="photo" href="<?php echo "http://wedding.u.qiniudn.com/photo(".$i.").jpg";  //base_url('data/photo/800/photo('.$i.').jpg');?>"><img src="<?php echo base_url('data/photo/170/photo('.$i.').jpg');?>" /></a></li>

		
		<?php endfor; ?>

	</ul>
</div>

<script src="<?php echo base_url('static/js/jquery.min.js');?>"></script>
<script src="<?php echo base_url('static/js/jquery.colorbox.js');?>"></script>
<script type="text/javascript">
	$(document).ready(function(){	
		$(".photo").colorbox({rel:'photo'});
	});
</script>

<?php $this->load->view('footer'); ?>